//10:输入10个整数，输出最小的数ok
package ZUOYE0421;

import java.util.Scanner;

public class 作业十 {

	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		System.out.println("输入第1个数：");
		int min = in.nextInt();
		for (int a = 2; a <= 10;) {
			System.out.println("输入第" + a + "个数；");
			int b = in.nextInt();
			if (min > b) {
				min = b;
			}
			a++;
		}
		System.out.println("最小为：" + min);

	}

}
